typedef struct _clock{
	unsigned short sec;
	unsigned short min;
	unsigned short hour;
}clock;

extern int button_flag;

//
//Displays time on the display
//
void displayTime(clock tmpStruct, unsigned int tmp);
void _displayTime(clock tmpStr, int check_flag);

//
//Convert integer to string
//
void itoa(unsigned long tmpInt, char * text);

//
//Adding elems to the array
//
void inputArray(clock tmpStruct, unsigned short number);


// Program begin time (important for timers.c) 
//
clock EnterTimeForProg(void);

//
//Calculating execution time of the program to simulate program running
//
clock simulate(clock tmp);
